package com.lanqiao.dao;

import com.lanqiao.entity.BookInfo;
import com.lanqiao.entity.BookPicInfo;

import java.util.List;

public interface BookDao {


    /**
     * 插入图书
     * @param bookInfo
     * @return
     */
    public int insertBook(BookInfo bookInfo);

    /**
     * 插入小图
     * @param bookPicInfo
     * @return
     */
    int insertBookPic(BookPicInfo bookPicInfo);


    /**
     * 查询所有书本
     * @return
     */
    List<BookInfo> selectBook();

}
